ajax(`/admin/article/search${location.search}`, function (data) {
    console.log(data)
    document.querySelector('#inputTitle').value = data.data.title
    document.querySelector('.article_cover').src = data.data.cover
    document.querySelector('#articleDate').value = data.data.date
    document.querySelector('#articleContent').innerText = data.data.content
    let option = document.createElement('option')
    option.value = data.data.categoryId
    option.text = '文章类别'
    document.querySelector('#category').add(option, null)
})